package com.bytefly.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * 记得把 controller 添加到 src/main/resources/application-dev.yml 中
 */

@Tag(name = "16. Lww接口", description = "Lww接口")
@RestController
@RequestMapping("/api/v1/lww")
public class LwwController {

    @GetMapping("/hello")
    @Operation(summary = "Lww接口")
    public String hello() {
        return "Hello, Lww!";
    }
}
